package com.design.working.dao;

import com.design.working.dto.LoginDTO;
import com.design.working.entity.Admin;
import com.design.working.entity.Counselor;
import com.design.working.entity.DeptEmployee;
import com.design.working.entity.Student;

import java.sql.SQLException;

/**
 * @author gavin
 * @date 2022/5/8 20:18
 */
public interface LoginDAO {

    /**
     * 学生登录
     */
    Student studentLogin(LoginDTO loginDTO) throws SQLException;

    /**
     * 辅导员登录
     */
    Counselor counselorLogin(LoginDTO loginDTO) throws SQLException;

    /**
     * 用工部门员工登录
     */
    DeptEmployee deptEmployeeLogin(LoginDTO loginDTO) throws SQLException;

    /**
     * 管理员登录
     */
    Admin adminLogin(LoginDTO loginDTO) throws SQLException;
}
